<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>浏览器信息</title>
</head>

<body>
    <script>
        document.write("浏览器名称：" + navigator.appName + "<br>")
        document.write("浏览器版本：" + navigator.appVersion + "<br>")
        document.write("浏览器代理报头：" + navigator.userAgent + "<br>")
        document.write("浏览器平台：" + navigator.platform)
        setTimeout(
            function () {
                //history.go(-1);
                history.back();
            }
            , 2000);
    </script>
</body>

</html>